package cn.edu.zjx.mapper;

import com.management.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<Role> selectAll();
    
    Role selectById(Integer id);
    
    int insert(Role role);
    
    int update(Role role);
    
    int deleteById(Integer id);
    
    List<Role> search(String keyword);
} 